<template xmlns:v-on="http://www.w3.org/1999/xhtml">
  <div id="app" class="home">
    <div class="H-left">
      <div class="leftMain">
        <div :class="{'leftPersonal':isleftPersonal,'leftPersonalClass':isleftPersonalClass}">
          <div>
            <img :src="bigImg" alt="" @click="backHome">
          </div>
        </div>
        <div class="leftNav">
          <ul style="padding-left: 0">
            <li v-for="(item,index) in items" @click="fadeClick(index,$event)" :class="{'LiShow':isLiShow == index}" class="isChild">
              <div :class="{'LiOne':isLiOne}" @click="oneClick">
                <img class="AA" :src="item.img" alt="" width="20" height="20">
                <b class="AA" style="width:74px;display:inline-block;text-align:left;font-size: 18px;">{{item.name}}</b>
                <span :class="{'glyphicon':isglyphicon,'glyphicon-chevron-right':isglyphiconchevronright,'spanRot':isSpanRot == index}"></span>
              </div>
              <transition name="navleft-fade">
                <div class="LiTwo" v-show="navLeftShow = true ? LiTwo == index : false">
                  <ul>
                    <li v-for="(del,ind) in item.dels" :class="{'ChildLi':isChildLi == ind}" @click="routeClick(ind,$event)">
                      {{del.name}}
                    </li>
                  </ul>
                </div>
              </transition>
            </li>
          </ul>
        </div>
      </div>
    </div>
    <div class="H-right">
      <div class="rightNav">
        <div class="nav-right">
          <div @click="fullClick" class="rih xiaoxiHide">
            <span :class="{'glyphicon':isglyphicon,'glyphicon-resize-full':isglyphiconresizefull,'glyphicon-resize-small':isglyphiconresizesmall}"></span>
          </div>
          <!--<div @click="bellClick" class="rih xiaoxiHide">
    
              <span class="glyphicon glyphicon-bell"></span>
    
              <div>6</div>
    
            </div>-->
          <div class="rih">
            <div @click="showRClick">
              <img :src="headImg" width="45" height="45" alt="">
            </div>
            <div @click="showRClick">
              <span>{{username}}</span>&nbsp;&nbsp;<span class="glyphicon glyphicon-triangle-bottom"></span>
            </div>
            <transition name="slide-fade">
              <div v-if="headShowR" class="headPopupR">
                <div class="headPopupMR">
                  <div>
                    <ul>
                      <li id="Logout" @click="logout">
                        <div style="color:#fff;">Logout</div>
                        <div></div>
                      </li>
                    </ul>
                  </div>
                </div>
              </div>
            </transition>
          </div>
        </div>
      </div>
      <div class="rightMain">
        <router-view keep-alive></router-view>
      </div>
      <!--            加载Loading-->
      <div class="loadingBox" v-show='this.$store.state.loading'>
        <div class="spinner">
          <div class="spinner-container container1">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
          </div>
          <div class="spinner-container container2">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
          </div>
          <div class="spinner-container container3">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'home',
    data() {
      return {
        isfontColor: 0,
        username: '',
        isglyphicon: true,
        isglyphiconresizefull: true,
        isglyphiconresizesmall: false,
        isglyphicon: true,
        isglyphiconchevronright: true,
        isLiOne: true,
        ind: 0,
        isSpanRot: 0,
        LiTwo: 0,
        isLiShow: 1111,
        isChildLi: 0,
        show: true,
        isFull: true,
        headImg: '../static/img/raw_1482510356.jpeg',
        seekImg: '../static/img/seekImg.png',
        bigImg: '../static/img/navi.png',
        items: [{
            "name": '用户管理',
            'but': 'commodity',
            img: "../static/img/icon_cdh_YH@2x.png",
            dels: [{
                "name": '用户统计',
                'but': 'userStatistics'
              },
              {
                "name": '用户列表',
                'but': 'userList'
              },
            ]
          },
          {
            "name": '广告管理',
            'but': 'order',
            img: "../static/img/icon_cdh_gg@2x.png",
            dels: [{
                "name": '广告主',
                'but': 'adOwner'
              },
              {
                "name": '普通广告',
                'but': 'adOrdinary'
              }
            ]
          },
          {
            "name": '红包管理',
            'but': 'hbManage',
            img: "../static/img/icon_cdh_hb@2x.png"
          },
          {
            "name": '商家管理',
            'but': 'sellerManage',
            img: "../static/img/icon_cdh_hb@2x.png"
          },
          {
            "name": '审核',
            'but': 'verify',
            img: "../static/img/icon_cdh_YH@2x.png"
          },
          {
            "name": '系统奖励',
            'but': 'rewardManage',
            img: "../static/img/icon_cdh_YH@2x.png",
          },
          {
            "name": '设置更多',
            'but': 'client',
            img: "../static/img/icon_cdh_sz@2x.png",
            dels: [{
                "name": '兑换码',
                'but': 'exchangeCode'
              },
              {
                "name": '系统消息',
                'but': 'systemMsg'
              },
              {
                "name": '提现规则',
                'but': 'cashRule'
              },
              {
                "name": '投诉管理',
                'but': 'complain'
              },
              {
                "name": '首页配置',
                'but': 'indexSet'
              },
              {
                "name": '应用版本管理',
                'but': 'versionManage'
              },
              {
                "name": '应用数据管理',
                'but': 'dataManage'
              },
              {
                "name": '推广渠道管理',
                'but': 'channelManage'
              },
              {
                "name": '用户等级管理',
                'but': 'levelManage'
              },
              {
                "name": '应用反馈信息管理',
                'but': 'feedbackManage'
              },
              {
                "name": '应用内说明文案管理',
                'but': 'documentManage'
              },
              {
                "name": '协作账户管理',
                'but': 'cooperationManage'
              },
              {
                "name": '管理平台操作记录',
                'but': 'operationRecord'
              },
            ]
          }
        ],
        kefu: [{
            "name": '用户管理',
            'but': 'commodity',
            img: "../static/img/icon_cdh_YH@2x.png",
            dels: [{
                "name": '用户统计',
                'but': 'userStatistics'
              },
              {
                "name": '用户列表',
                'but': 'userList'
              },
            ]
          },
          {
            "name": '审核    ',
            'but': 'verify',
            img: "../static/img/icon_cdh_YH@2x.png"
          },
          {
            "name": '设置更多',
            'but': 'client',
            img: "../static/img/icon_cdh_sz@2x.png",
            dels: [{
                "name": '首页配置',
                'but': 'indexSet'
              },
              {
                "name": '应用反馈信息管理',
                'but': 'feedbackManage'
              },
            ]
          }
        ],
        yunying: [{
            "name": '用户管理',
            'but': 'commodity',
            img: "../static/img/icon_cdh_YH@2x.png",
            dels: [{
                "name": '用户统计',
                'but': 'userStatistics'
              },
              {
                "name": '用户列表',
                'but': 'userList'
              },
            ]
          },
          {
            "name": '广告管理',
            'but': 'order',
            img: "../static/img/icon_cdh_gg@2x.png",
            dels: [{
                "name": '广告主',
                'but': 'adOwner'
              },
              {
                "name": '普通广告',
                'but': 'adOrdinary'
              }
            ]
          },
          {
            "name": '红包管理',
            'but': 'hbManage',
            img: "../static/img/icon_cdh_hb@2x.png"
          },
          {
            "name": '商家管理',
            'but': 'sellerManage',
            img: "../static/img/icon_cdh_hb@2x.png"
          },
          {
            "name": '审核',
            'but': 'verify',
            img: "../static/img/icon_cdh_YH@2x.png"
          },
          {
            "name": '系统奖励',
            'but': 'rewardManage',
            img: "../static/img/icon_cdh_YH@2x.png",
          },
          {
            "name": '设置更多',
            'but': 'client',
            img: "../static/img/icon_cdh_sz@2x.png",
            dels: [{
                "name": '兑换码',
                'but': 'exchangeCode'
              },
              {
                "name": '系统消息',
                'but': 'systemMsg'
              },
              {
                "name": '提现规则',
                'but': 'cashRule'
              },
              {
                "name": '投诉管理',
                'but': 'complain'
              },
              {
                "name": '首页配置',
                'but': 'indexSet'
              },
              {
                "name": '应用版本管理',
                'but': 'versionManage'
              },
              {
                "name": '应用数据管理',
                'but': 'dataManage'
              },
              {
                "name": '推广渠道管理',
                'but': 'channelManage'
              },
              {
                "name": '用户等级管理',
                'but': 'levelManage'
              },
              {
                "name": '应用反馈信息管理',
                'but': 'feedbackManage'
              },
              {
                "name": '应用内说明文案管理',
                'but': 'documentManage'
              },
            ]
          }
        ],
        caiwu: [{
            "name": '用户管理',
            'but': 'commodity',
            img: "../static/img/icon_cdh_YH@2x.png",
            dels: [{
                "name": '用户统计',
                'but': 'userStatistics'
              },
              {
                "name": '用户列表',
                'but': 'userList'
              },
            ]
          },
          {
            "name": '审核    ',
            'but': 'verify',
            img: "../static/img/icon_cdh_YH@2x.png"
          }
        ],
        xiaoxi: [{
            "name": '用户管理',
            'but': 'commodity',
            img: "../static/img/icon_cdh_YH@2x.png",
            dels: [{
                "name": '用户统计',
                'but': 'userStatistics'
              },
              {
                "name": '用户列表',
                'but': 'userList'
              },
            ]
          },
          {
            "name": '设置更多',
            'but': 'client',
            img: "../static/img/icon_cdh_sz@2x.png",
            dels: [{
                "name": '系统消息',
                'but': 'systemMsg'
              },
              {
                "name": '应用内说明文案管理',
                'but': 'documentManage'
              },
            ]
          }
        ],
        isleftPersonal: true,
        isleftPersonalClass: false,
        isnewPopup: true,
        isshowNew: true,
        headShow: false,
        headShowR: false,
        bellShow: false,
        navLeftShow: false
      }
    },
    created: function() {
      this.fetchDate()
      this.headImg = sessionStorage.getItem('photo')
      this.username = sessionStorage.getItem('username')
      this.permission()
      let token = sessionStorage.token;
      if (token == undefined) {
        this.$router.push('/Login')
      }
    },
    watch: {
      // 如果路由有变化，会再次执行该方法
      "$route": "fetchDate"
    },
    methods: {
      backHome:function(){
        this.$router.push({
          path:'/home/userStatistics'
        })
      },
      // 根据路径匹配标记导航
      fetchDate: function() {
        var pathStr = this.$route.path.split('/')[2]
        if (pathStr == 'userStatistics') {
          this.isChildLi = 0
          this.LiTwo = 0
          this.isSpanRot = 0
          // this.isfontColor = 0
        } else if (pathStr == 'userList') {
          this.isChildLi = 1
          this.LiTwo = 0
          this.isSpanRot = 0
          // this.isfontColor = 0
        } else if (pathStr == 'adOwner') {
          this.isChildLi = 0
          this.LiTwo = 1
          this.isSpanRot = 1
          // this.isfontColor = 1
        } else if (pathStr == 'adOrdinary') {
          this.isChildLi = 1
          this.LiTwo = 1
          this.isSpanRot = 1
          // this.isfontColor = 1
        } else if (pathStr == 'hbManage') {
          this.isLiShow = 2
          this.LiTwo = 11111
          this.isSpanRot = 111111
          // this.isfontColor = 2
        } else if (pathStr == 'sellerManage') {
          this.isLiShow = 3
          this.LiTwo = 11111
          this.isSpanRot = 111111
          // this.isfontColor = 3
        } else if (pathStr == 'verify') {
          this.isLiShow = 4
          this.LiTwo = 11111
          this.isSpanRot = 111111
          // this.isfontColor = 4
        } else if (pathStr == 'rewardManage') {
          this.isLiShow = 5
          this.LiTwo = 1111111
          this.isSpanRot = 11111111
          // this.isfontColor = 5
        } else if(pathStr == 'exchangeCode'){
          // this.isLiShow = 6
          this.isChildLi = 0
          this.LiTwo = 6
          this.isSpanRot = 6
          // this.isfontColor = 6
        }else if(pathStr == 'systemMsg'){
          this.isChildLi = 1
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'cashRule'){
          this.isChildLi = 2
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'complain'){
          this.isChildLi = 3
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'indexSet'){
          this.isChildLi = 4
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'dataManage'){
          this.isChildLi = 6
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'channelManage'){
          this.isChildLi = 7
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'levelManage'){
          this.isChildLi = 8
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'feedbackManage'){
          this.isChildLi = 9
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'documentManage'){
          this.isChildLi = 10
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'cooperationManage'){
          this.isChildLi = 11
          this.LiTwo = 6
          this.isSpanRot = 6
        }else if(pathStr == 'operationRecord'){
          this.isChildLi = 12
          this.LiTwo = 6
          this.isSpanRot = 6
        }
      },
      permission: function() {
        if (sessionStorage.getItem('rule') == '财务') {
          this.items = this.caiwu
        } else if (sessionStorage.getItem('rule') == '运营') {
          this.items = this.yunying
        } else if (sessionStorage.getItem('rule') == '客服') {
          this.items = this.kefu
        } else if (sessionStorage.getItem('rule') == '超级管理员') {
          this.items = this.items
        } else if (sessionStorage.getItem('rule') == '消息推送管理员') {
          this.items = this.xiaoxi
        } else {
          this.items = this.items
        }
      },
      logout: function() {
        this.$confirm('确定退出吗?', '提示', {
          confirmButtonText: '确定',
          cancelButtonText: '取消',
          type: 'warning'
        }).then(() => {
          sessionStorage.removeItem('token')
          this.$router.push('/Login')
        }).catch(() => {});
      },
      fadeClick: function(index, e) {
        // this.isfontColor = index
        this.isChildLi = 111111
        if (!this.items[index].dels) {
          var items = this.items;
          var oneStr = items[index].but
          var ur = "/Home/" + oneStr;
          this.$router.push({
            path: ur
          })
          this.LiTwo = 111111111111
          this.isSpanRot = 1111111111
          this.isLiShow = index
        } else {
          // if (e.target.className.indexOf("isChild") > 0) {
          var count = this.LiTwo
          if (count == index) {
            this.LiTwo = 111111111111
            this.isSpanRot = 1111111111
          } else {
            this.LiTwo = index
            this.isSpanRot = index
          }
          this.isLiShow = 1111111
          // }
        }
      },
      oneClick: function() {
      },
      newClick: function() {
        this.isshowNew = !this.isshowNew
      },
      headClick: function() {
        this.headShow = !this.headShow
      },
      showRClick: function() {
        this.headShowR = !this.headShowR
      },
      bellClick: function() {
        this.bellShow = !this.bellShow
      },
      routeClick: function(ind, e) {
        e.stopPropagation();
        this.isChildLi = ind
        var itemIndex = this.isSpanRot;
        var items = this.items;
        var oneStr = items[itemIndex].but
        var twoStr = items[itemIndex].dels[ind].but
        if (ind == 5) {
          window.open('https://dawning.sxluckyking.com:8360/home/index/login')
          return
        }
        var ur = "/Home/" + twoStr;
        console.log(ur)
        this.$router.push({
          path: ur
        })
      },
      // 进入全屏
      fullClick: function() {
        var docElm = document.documentElement;
        var isFull = this.isglyphiconresizefull;
        if (isFull == true) {
          //W3C
          if (docElm.requestFullscreen) {
            docElm.requestFullscreen();
          }
          //FireFox
          else if (docElm.mozRequestFullScreen) {
            docElm.mozRequestFullScreen();
          }
          //Chrome等
          else if (docElm.webkitRequestFullScreen) {
            docElm.webkitRequestFullScreen();
          }
          //IE11
          else if (elem.msRequestFullscreen) {
            elem.msRequestFullscreen();
          }
          this.isglyphiconresizefull = false
          this.isglyphiconresizesmall = true
        } else {
          if (document.exitFullscreen) {
            document.exitFullscreen();
          } else if (document.mozCancelFullScreen) {
            document.mozCancelFullScreen();
          } else if (document.webkitCancelFullScreen) {
            document.webkitCancelFullScreen();
          } else if (document.msExitFullscreen) {
            document.msExitFullscreen();
          }
          this.isglyphiconresizefull = true
          this.isglyphiconresizesmall = false
        }
      }
    }
  }
</script>
<!--全局公共样式-->
<style>
  html,
  body {
    height: 100%;
  }
  button {
    outline: none;
  }
  input {
    padding: 7px;
  }
  * {
    padding: 0;
    margin: 0;
  }
  li {
    list-style: none;
  }
  .balance div,
  .nickName div {
    color: rgb(0, 160, 233);
    cursor: pointer;
  }
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }
   ::-webkit-scrollbar {
    width: 0px;
  }
  .clear {
    clear: both;
  }
  .el-button {
    padding: 0!important;
    width: 56px;
    height: 32px!important;;
    line-height: 32px!important;;
    text-align: center;
    font-size: 12px!important;
  }
  .el-button--primary {
    background-color: #7EC8FF!important;
    border-color: #7EC8FF!important;
  }
  .el-button--danger {
    background-color: #FF8D8D!important;
    border-color: #FF8D8D!important;
  }
  .el-button--success {
    background-color: #85DF64!important;
    border-color: #85DF64!important;
  }
  .el-button.is-disabled {
    color: #bfcbd9!important;
    cursor: not-allowed!important;
    background-image: none!important;
    background-color: #eef1f6!important;
    border-color: #d1dbe5!important;
  }
  .table-bordered>thead>tr>th {
    border-bottom-width: 1px!important;
  }
  input[type='button'] {
    outline: none;
    border: none;
  }
  /*弹框*/
  .tankuang {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    overflow: hidden;
    z-index: 1500;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
  }
  .bomb {
    position: fixed;
    width: 560px;
    height: 500px;
    background: #fff;
    border-radius: 10px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1000;
  }
  .bomb_header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 48px;
    background: #3C5570;
    position: relative;
  }
  .bomb_header p {
    color: #fff;
    font-size: 18px;
    line-height: 48px;
  }
  .bomb_header span {
    position: absolute;
    top: 16px;
    right: 14px;
    background: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
  }
  .bomb_header span img {
    vertical-align: baseline;
  }
  .bomb_content {
    height: 352px;
    margin: 0 16px;
    overflow: scroll;
    border-bottom: 1px solid #F2F2F2;
    position: relative;
  }
  .bomb_footer {
    height: 100px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .bomb_footer input {
    margin: 34px 10px;
    ;
    color: #fff;
    font-size: 12px;
    width: 56px;
    height: 32px;
    border-radius: 5px;
  }
  .bomb_footer input:nth-child(1) {
    background: #3C5570;
  }
  .bomb_footer input:nth-child(2) {
    background: #DDDDDD;
  }
  .layer {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 500;
    left: 0px;
    top: 0px;
    right: 0;
    bottom: 0;
  }
  .main {
    width: 100%;
    padding-right: 20px;
    background-color: #fff;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  .listTitle {
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #dddddd;
    background-color: #fafafa;
    box-sizing: border-box;
  }
  .dataList {
    width: 100%;
    height: 48px;
    line-height: 48px;
    color: #333333;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    border-bottom: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    background-color: #ffffff;
  }
  .dataList img {
    width: 25px;
    vertical-align: middle;
    margin-right: 5px;
  }
  .dataList li,
  .listTitle li {
    border-right: 1px solid #dddddd;
    box-sizing: border-box;
    float: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .dataList li {
    height: 47px;
  }
  .nullContent {
    height: 50px;
    line-height: 50px;
    width: 80px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    font-size: 18px;
    color: #D3DCE6;
    text-align: center;
  }
  .search {
    width: 100%;
    padding: 6px 20px 0 0;
    background-color: #efefef;
    height: 48px;
    margin-bottom: 10px;
  }
  .selectOption {
    text-align: right;
}
.search .el-button--primary,.search .el-button--success{
  margin-left:10px;
}
.table > tbody > tr > td {
    padding: 0!important;
    height: 47px;
    line-height: 47px!important;
    vertical-align: baseline!important;
  }
  .table > tbody > tr > td:nth-child(1){
    width: 4%;
  }
     thead th{
    padding:0!important;
    height: 39px!important;
    line-height: 39px!important;
}
.el-date-table th{
  padding: 13px!important;
}
thead th:nth-child(1){
  width:4%;
}
.contain_two {
    width: 100%;
    padding-right: 20px;
    background-color: #fff;
    box-sizing: border-box;
  }
  thead tr {
    background: #fafafa;
  }
  tbody tr:nth-child(even) {
    background: #fafafa;
  }
  .dataList:nth-child(odd) {
    background-color: #fafafa;
  }
  input[type=checkbox],
  input[type=radio] {
    margin: 4px 0 0;
    line-height: normal;
    vertical-align: top;
  }
  .el-date-editor.el-input {
    width: 160px!important;
  }
   .uploadBtn {
        display: inline-block;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        border: 1px solid #85DF64;
        -webkit-appearance: none;
        text-align: center;
        box-sizing: border-box;
        outline: 0;
        margin: 0;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 4px;
        font-weight: normal;
        color: #85DF64;
    }
</style>
<!--app.vue私有样式-->
<style scoped>
  .LiTwo li {
    line-height: 48px;
  }
  .fontColor {
    color: #FB9D9D!important;
  }
  .ChildLi {
    background: #3C5570;
  }
  .home {
    display: flex;
    overflow: hidden;
  }
  .H-left {
    z-index: 1;
    top: 0;
    height: 100%;
    position: fixed;
    left: 0;
    box-sizing: border-box;
    width: 200px;
    background-color: #4D6986;
    text-align: center;
    color: white;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: 2px 2px 4px #F5F5F5;
  }
  .leftLogo {
    position: fixed;
    top: 0;
    left: 0;
    height: 57px;
    width: 199px;
    overflow: hidden;
    z-index: 1;
    background-color: #1C2B36;
  }
  .leftLogo>img {
    height: 55px;
    width: 200px;
  }
  .leftMain {
    /*margin-top: 55px;*/
    left: 0;
    width: 200px;
  }
  .leftPersonal {
    border-bottom: 1px solid #486582;
    position: fixed;
    width: 200px;
    top: 0;
    background: #486582;
    z-index: 100;
  }
  .headPopup {
    position: absolute;
    top: 210px;
    left: 0;
    width: 200px;
    height: 220px;
    z-index: 1;
  }
  .headPopup>div:nth-child(1) {
    width: 200px;
    text-align: center;
    font-size: 20px;
    color: #23B7E5;
    height: 16px;
    line-height: 20px;
    padding-top: 1px;
  }
  .headPopupM {
    height: 200px;
    border-radius: 3px;
    width: 200px;
  }
  .headPopupM>div:nth-child(1) {
    background-color: #23B7E5;
    height: 65px;
    width: 200px;
    text-align: center;
  }
  .headPopupM>div:nth-child(1)>div:nth-child(1) {
    height: 40px;
    line-height: 40px;
  }
  .progress {
    height: 10px;
    width: 180px;
    margin-left: 10px;
  }
  .progress-bar {
    height: 10px;
  }
  .headPopupM>div:nth-child(2) {
    height: 135px;
    width: 200px;
    background-color: white;
  }
  .headPopupM>div:nth-child(2)>ul>li {
    display: flex;
    justify-content: space-between;
    height: 30px;
    width: 200px;
    line-height: 30px;
    color: #bbbbbb;
  }
  .headPopupM>div:nth-child(2)>ul>li:hover {
    background-color: #EDF1F2;
    cursor: pointer;
  }
  .headPopupM>div:nth-child(2)>ul>li>div:nth-child(1) {
    margin-left: 15px;
    font-size: 14px;
  }
  .headPopupM>div:nth-child(2)>ul>li>div:nth-child(2) {
    margin-right: 15px;
  }
  .headPopupM>div:nth-child(2)>ul>li:nth-child(3)>div:nth-child(2) {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: red;
    line-height: 20px;
    margin-top: 5px;
  }
  .headPopupM>div:nth-child(2)>ul>li:nth-child(4) {
    height: 45px;
    line-height: 45px;
    border-top: 1px solid #bbb;
  }
  .slide-fade-enter-active {
    transition: all .3s ease;
  }
  .slide-fade-leave-active {
    transition: all .8s cubic-bezier(1.0, 0.5, 0.5, 1.0);
  }
  .slide-fade-enter,
  .slide-fade-leave-active {
    transform: translateX(30px);
    opacity: 0;
  }
  .navleft-fade-enter-active {
    transition: all 1s ease;
  }
  .navleft-fade-leave-active {
    transition: all 0.3s ease;
  }
  .navleft-fade-enter,
  .navleft-fade-leave-active {
    transform: translateX(-60px);
    opacity: 0;
  }
  .leftPersonalClass {
    display: none;
  }
  .leftPersonal>div:nth-child(1)>img {
    margin: 50px 0;
    cursor: pointer;
  }
  .leftPersonal>div:nth-child(2) {
    cursor: pointer;
    margin: 10px 0;
    position: relative;
  }
  .leftPersonal>div:nth-child(2)>span {
    color: #999;
    padding-top: 3px;
    display: inline-block;
    font-size: 15px;
  }
  .leftNav {
    margin-bottom: 50px;
    overflow-x: hidden;
    padding-left: 0;
    margin-top: 126px;
  }
  /*overflow-y: scroll;height: 500px;*/
  /*.leftNav li {
    
        min-height: 64px;
    
        line-height: 64px;
    
        font-size: 14px;
    
        color:#000;
    
        cursor: pointer;
    
        overflow: hidden;
    
      }*/
  .isChild {
    min-height: 64px;
    line-height: 64px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    background-color:#415B77;
  }
  .leftNav li span {
    color: #aaa;
  }
  .leftNav li>div:nth-child(1)>img {
    margin-right: 10px;
    vertical-align: middle;
    margin-top: -6px;
  }
  .leftNav li>div:nth-child(1)>span {
    margin-left: 35px;
    font-size: 14px;
  }
  /*.leftNav ul li:nth-of-type(5) div:nth-child(1) b {
    
        margin-right: 26px;
    
      }*/
  .spanRot {
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
  }
  .LiShow {
    background-color: #3C5570;
  }
  /*.LiOne:hover {
    
        background-color: #16232d;
    
        color: white;
    
      }*/
  /*.LiTwo>ul>li:hover {
    
        background-color: #16232d;
    
        color: #fff;
    
      }*/
  .H-right {
    width: calc(100vw - 200px);
    position: relative;
    margin-left: 200px;
    overflow-y: scroll;
    min-width: 1080px;
    background: #fcf9f9;
  }
  .rightNav {
    position: fixed;
    top: 0;
    left: 200px;
    height: 56px;
    width: calc(100vw - 200px);
    background-color: #4D6986;
    color:#fff;
    min-width: 1080px;
    display: flex;
    justify-content: flex-end;
    margin-left: 10px;
    box-shadow: 2px 2px 4px #F5F5F5;
    z-index:10;
  }
  .rightMain {
    position: absolute;
    top: 66px;
    left: 10px;
    bottom: 0;
    right: 0;
    overflow-x: scroll;
  }
  .newPopup>ul>li {
    height: 30px;
    line-height: 30px;
    width: 160px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-top: 5px;
    background-color: white;
  }
  .newPopup li>div:nth-child(2) {
    margin-top: 5px;
  }
  .newPopup li:nth-child(2)>div:nth-child(2) {
    margin-right: 10px;
    width: 25px;
    height: 18px;
    background-color: white;
    border-radius: 9px;
    line-height: 18px;
    text-align: center;
    background-color: orange;
  }
  .newPopup li:nth-child(4)>div:nth-child(2) {
    margin-right: 10px;
    width: 25px;
    height: 18px;
    background-color: white;
    border-radius: 9px;
    line-height: 18px;
    text-align: center;
    background-color: deepskyblue;
  }
  .newPopup li:nth-child(4) {
    border-top: 1px solid #bbbbbb;
    height: 40px;
    line-height: 40px;
  }
  .newPopup li:nth-child(4)>div:nth-child(2) {
    margin-top: 10px;
  }
  .newPopup li>div:nth-child(1) {
    margin-left: 10px;
  }
  .nav-right {
    height: 55px;
    position: relative;
    min-width: 220px;
    margin-right: 17px;
  }
  .nav-right .bellPopup {
    position: absolute;
    top: 55px;
    left: 0px;
    width: 162px;
    height: 160px;
    background-color: white;
    border-radius: 3px;
    background-color: #fff;
    z-index: 1;
    border: 1px solid #bbb;
  }
  .bellPopup>ul>li {
    height: 30px;
    line-height: 30px;
    width: 160px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-top: 5px;
    background-color: white;
    overflow: hidden;
  }
  .bellPopup>ul>li:hover {
    background-color: #EDF1F2;
  }
  .bellPopup li>div:nth-child(2) {
    margin-top: 5px;
  }
  .bellPopup li:nth-child(2)>div:nth-child(2) {
    margin-right: 10px;
    width: 25px;
    height: 18px;
    background-color: white;
    border-radius: 9px;
    line-height: 18px;
    text-align: center;
    background-color: orange;
  }
  .bellPopup li:nth-child(4)>div:nth-child(2) {
    margin-right: 10px;
    width: 25px;
    height: 18px;
    background-color: white;
    border-radius: 9px;
    line-height: 18px;
    text-align: center;
    background-color: deepskyblue;
  }
  .bellPopup li:nth-child(4) {
    border-top: 1px solid #bbbbbb;
    height: 40px;
    line-height: 40px;
  }
  .bellPopup li:nth-child(4)>div:nth-child(2) {
    margin-top: 10px;
  }
  .bellPopup li>div:nth-child(1) {
    margin-left: 10px;
  }
  .nav-right>div {
    min-width: 55px;
    float: left;
    margin-right: 5px;
    text-align: center;
    cursor: pointer;
  }
  .nav-right>div:nth-child(1) {
    line-height: 33px;
    height: 33px;
    margin: 12px 0;
    border-right: 1px solid #294063;
  }
  .nav-right>div:nth-child(1)>span {
    font-size: 16px;
  }
  .nav-right>div:nth-child(2) {
    line-height: 56px;
    height: 56px;
    display: flex;
    min-width: 140px;
    font-size: 15px;
    position: relative;
  }
  .nav-right>div:nth-child(2) img {
    border-radius: 50%;
    margin-top: -5px;
  }
  .nav-right>div:nth-child(2)>div:nth-child(1) {
    margin-right: 5px;
    min-width: 80px;
  }
  .headPopupR {
    position: absolute;
    top: 56px;
    right: -5px;
    width: 202px;
    height: 57px;
    z-index: 1;
    background-color: #bbb;
    border: 1px solid #bbb;
    border-radius: 3px;
  }
  .headPopupMR {
    height: 55px;
    border-radius: 3px;
    width: 200px;
  }
  .headPopupMR>div:nth-child(1) {
    background-color: #4D6986;
    height: 55px;
    width: 200px;
    text-align: center;
  }
  .headPopupMR>div>ul>li:hover {
    background-color: #EDF1F2;
  }
  .headPopupMR>div:nth-child(1)>ul>li:nth-child(1) {
    height: 55px;
    line-height: 55px;
  }
  .loadingBox {
    background-color: #fff;
    position: fixed;
    top: 66px;
    left: 210px;
    right: 0;
    bottom: 0;
    z-index: 8000;
  }
  .spinner {
    margin: auto;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 66px;
    left: 0;
    bottom: 0;
    right: 0;
  }
  .container1>div,
  .container2>div,
  .container3>div {
    width: 16px;
    height: 16px;
    background-color: #43dce7;
    border-radius: 100%;
    position: absolute;
    -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
    animation: bouncedelay 1.2s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .spinner .spinner-container {
    position: absolute;
    width: 100%;
    height: 100%;
  }
</style>
<!--app.vue私有样式============================================-->
<style scoped>
  .container2 {
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
  }
  .container3 {
    -webkit-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
  }
  .circle1 {
    top: 0;
    left: 0;
  }
  .circle2 {
    top: 0;
    right: 0;
  }
  .circle3 {
    right: 0;
    bottom: 0;
  }
  .circle4 {
    left: 0;
    bottom: 0;
  }
  .container2 .circle1 {
    -webkit-animation-delay: -1.1s;
    -moz-animation-delay: -1.1s;
    -ms-animation-delay: -1.1s;
    -o-animation-delay: -1.1s;
    animation-delay: -1.1s;
  }
  .container3 .circle1 {
    -webkit-animation-delay: -1.0s;
    -moz-animation-delay: -1.0s;
    -ms-animation-delay: -1.0s;
    -o-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }
  .container1 .circle2 {
    -webkit-animation-delay: -0.9s;
    -moz-animation-delay: -0.9s;
    -ms-animation-delay: -0.9s;
    -o-animation-delay: -0.9s;
    animation-delay: -0.9s;
  }
  .container2 .circle2 {
    -webkit-animation-delay: -0.8s;
    -moz-animation-delay: -0.8s;
    -ms-animation-delay: -0.8s;
    -o-animation-delay: -0.8s;
    animation-delay: -0.8s;
  }
  .container3 .circle2 {
    -webkit-animation-delay: -0.7s;
    -moz-animation-delay: -0.7s;
    -ms-animation-delay: -0.7s;
    -o-animation-delay: -0.7s;
    animation-delay: -0.7s;
  }
  .container1 .circle3 {
    -webkit-animation-delay: -0.6s;
    -moz-animation-delay: -0.6s;
    -ms-animation-delay: -0.6s;
    -o-animation-delay: -0.6s;
    animation-delay: -0.6s;
  }
  .container2 .circle3 {
    -webkit-animation-delay: -0.5s;
    -moz-animation-delay: -0.5s;
    -ms-animation-delay: -0.5s;
    -o-animation-delay: -0.5s;
    animation-delay: -0.5s;
  }
  .container3 .circle3 {
    -webkit-animation-delay: -0.4s;
    -moz-animation-delay: -0.4s;
    -ms-animation-delay: -0.4s;
    -o-animation-delay: -0.4s;
    animation-delay: -0.4s;
  }
  .container1 .circle4 {
    -webkit-animation-delay: -0.3s;
    -moz-animation-delay: -0.3s;
    -ms-animation-delay: -0.3s;
    -o-animation-delay: -0.3s;
    animation-delay: -0.3s;
  }
  .container2 .circle4 {
    -webkit-animation-delay: -0.2s;
    -moz-animation-delay: -0.2s;
    -ms-animation-delay: -0.2s;
    -o-animation-delay: -0.2s;
    animation-delay: -0.2s;
  }
  .container3 .circle4 {
    -webkit-animation-delay: -0.1s;
    -moz-animation-delay: -0.1s;
    -ms-animation-delay: -0.1s;
    -o-animation-delay: -0.1s;
    animation-delay: -0.1s;
  }
  @-webkit-keyframes bouncedelay {
    0%,
    80%,
    100% {
      transform: scale(0.0);
      -ms-transform: scale(0.0);
      -moz-transform: scale(0.0);
      -webkit-transform: scale(0.0);
      -o-transform: scale(0.0)
    }
    40% {
      transform: scale(1.0);
      -ms-transform: scale(1.0);
      -moz-transform: scale(1.0);
      -webkit-transform: scale(1.0);
      -o-transform: scale(1.0)
    }
  }
  @keyframes bouncedelay {
    0%,
    80%,
    100% {
      transform: scale(0.0);
      -ms-transform: scale(0.0);
      -moz-transform: scale(0.0);
      -webkit-transform: scale(0.0);
      -o-transform: scale(0.0)
    }
    40% {
      transform: scale(1.0);
      -ms-transform: scale(1.0);
      -moz-transform: scale(1.0);
      -webkit-transform: scale(1.0);
      -o-transform: scale(1.0)
    }
  }
</style>